<div class="information_inner2">
	<div class="go_back">
		<a href="<?php echo base_url().BASE; ?>join_as" title="<?php echo $static_info['go_back'] ?>"> </a>
	</div>
	<?php echo form_open(base_url().BASE.'join_as_submit', array('id' => 'join_as_form', 'autocomplete' => 'off')); ?>
	<?php $this->session->set_userdata('new_data', $this->session->userdata('member_data')); 
		$join_data = $this->session->userdata('member_data');
		$member_join = $this->session->userdata('member_type');?>
	<div class="member_join_as_form">
		<?php echo $static_text['i_am'] ?>
		<input type="text" id="first_name" name="first_name" value="<?php  if(isset($member_data_input['first_name']))echo  $member_data_input['first_name'];  else echo $join_data['first_name']; ?>" placeholder="First name" maxlength="20" autocomplete="off" class="textfield content_pink pink"data-autosize-input='{ "space": 10 }'>
		<input type="text" id="lastname" name="last_name" value="<?php  if(isset($member_data_input['last_name']))echo  $member_data_input['last_name'];  else echo $join_data['last_name']; ?>" placeholder="Last name" maxlength="20" autocomplete="off" class="textfield content_blue blue" data-autosize-input='{ "space": 16 }'>
		<br>
		<?php echo $static_text['i_study_in'] ?> <span class="classes content_pink"  tabindex="10"><?php if(isset($member_data_input['class'])) echo  $member_data_input['class']; elseif($this->session->userdata('member_data')) echo $join_data['class']; else echo  $label['class']; ?></span>-
		<input type="text" id="section" name="section" value="<?php if(isset($member_data_input['section'])) echo  $member_data_input['section']; else  echo $join_data['section'];?>" placeholder="Section" maxlength="2" autocomplete="off" class="textfield2 caps content_blue blue"data-autosize-input='{ "space": -1 }'>
		<?php echo $static_text['of'] ?> <span class="school content_pink"><?php  if(isset($member_data_input['school_1'])) echo  $member_data_input['school_1']; elseif($this->session->userdata('member_data') && $join_data['school_1']!="") echo substr($join_data['school_1'], 0, 14).'..'; elseif($join_data['school_1']=="" && $join_data['school_name']!="") {echo $join_data['school_name'];} else echo $label['school'] ?></span> 
		<?php echo $static_text['and'] ?> <span class="board content_blue"><?php  if(isset($member_data_input['board_1'])) echo  $member_data_input['board_1']; elseif($this->session->userdata('member_data')) echo substr($join_data['board_1'], 0, 14).'..'; else echo $label['board'] ?></span>
		<br>
		<?php echo $static_text['i_am'] ?>
	</div>
	
	<!--select_class starts-->
	<div class="select_class">
		<div class="go_back">
			<a href="javascript:void(0);" title="<?php echo $static_info['go_back'] ?>"> </a>
        </div>
		<?php echo $static_text['i_study_in_class'] ?>
		<input type="hidden" value="<?php if(isset($input_data['class'])) echo $input_data['class']; else echo $join_data["class"]; ?>" id="class" name="class"><br>
		<?php echo $class_list ?>
	</div>
	<!--select_class closed-->
	
	<!--select_school starts-->
	<div class="select_school">
		<div class="go_back">
			<a href="javascript:void(0);" title="<?php echo $static_info['go_back'] ?>"> </a>
        </div>
        <?php echo $static_text['i_studing_in'] ?>
		<input type="text" id="school_id" maxlength="100" name="school_name" placeholder="School" value="<?php if(isset($input_data['school_name'])) echo $input_data['school_name']; else echo $join_data["school_name"]; ?>" class="textfield content_pink pink" data-autosize-input='{"space":10}' autocomplete="off">
		<input type="hidden" id="school" name="school" value="<?php if(isset($input_data['school'])) echo $input_data['school']; else echo $join_data["school"]; ?>">
		<input type="hidden" id="school_1" name="school_1" value="<?php if(isset($input_data['school_1'])) echo $input_data['school_1']; else echo $join_data["school_1"]; ?>">
		<div class="result_not_found" id="result_not_found_school" style="display:none;"><a href="javascript:void(0);">
			<img src="<?php echo SKIN_URL_IMAGE;?>/submit.png"></a>
		</div><br>
		<div id="school_result">
		</div>         
	</div>
	<!--select_school closed-->
	<!--select_board starts-->
	<div class="select_board">
		<div class="go_back">
        	<a href="javascript:void(0);" title="<?php echo $static_info['go_back'] ?>"> </a>
        </div>
		<?php echo $static_text['my_board']; ?>
		<input type="text" value="<?php if(isset($input_data['board_name'])) echo $input_data['board_name']; else echo $join_data["board_name"]; ?>" id="board_id" name="board_name" maxlength="300" placeholder="Board"  class="textfield content_blue blue sreach_board" data-autosize-input='{"space":10}' autocomplete="off">
		<input type="hidden" id="board" name="board" value="<?php if(isset($input_data['board'])) echo $input_data['board']; else echo $join_data["board"]; ?>">
		<input type="hidden" id="board_1" name="board_1" value="<?php if(isset($input_data['board_1'])) echo $input_data['board_1']; else echo $join_data["board_1"]; ?>">
		<div class="result_not_found" style="display:none" id="result_not_found_board"><a href="javascript:void(0);">
			<img src="<?php echo SKIN_URL_IMAGE;?>/submit.png"></a>
		</div><br> 
        <div id="board_result"></div> 
	</div>
	<!--select_board closed-->
	<!--member_join_as starts-->
	<?php $this->load->view('common/gender_nav'); ?>
	<!--member_join_as closed-->
	<!--detailed_form starts-->
	<?php $this->load->view('common/detail_link'); ?>
	<input type="hidden" name="member_type" id="member_type" value="<?php if($this->session->userdata('member_type_new')) { echo $this->session->userdata('member_type_new'); $member_type=$this->session->userdata('member_type_new'); } else if(isset($member_type)){ echo $member_type; $this->session->set_userdata('member_type_new',$member_type);}  ?>"  />
	<?php echo form_close(); ?>
	<?php $this -> load -> view('common/error_msg'); ?>
	<!--detailed_form closed-->
	<!--member_join_in closed-->
</div>